Python 3.14: Exploring the New Features | Real Python Podcast #269
Python 3.14 is here! Christopher Trudeau returns to discuss the new version with Real Python team member Bartosz Zaczyński. This year, Bartosz coordinated the series of preview articles with members of the Real Python team and wrote the showcase tutorial, "Python 3.14: Cool New Features for You to Try." Christopher's video course "What's New in Python 3.14" covers the topics from the article and shows the new features in action.
👉 Links from the show:
Christopher and Bartosz dug into the release to create code examples of the new features for the tutorial and course. We look at the enhanced and more colorful REPL experience, better error messages, safer hooks for live debugging, and deferred annotation evaluation. We also discuss template strings, Zstandard compression, and multiple performance improvements.
We share our thoughts on the updates and offer advice about incorporating them into your projects. We also discuss when you should start running Python 3.14.
Topics:
- 00:00:00 -- Introduction
- 00:02:03 -- Cool New Features for You to Try - Tutorial
- 00:02:20 -- What's New in Python 3.14 - Video Course
- 00:02:54 -- Even Friendlier Python REPL
- 00:05:05 -- Allow "json" instead of "json.tool"
- 00:05:49 -- Zstandard compression
- 00:06:37 -- Working With Numbers
- 00:11:09 -- Deferred Evaluation of Annotations
- 00:17:35 -- More Helpful Error Messages
- 00:20:41 -- Warnings in try...finally Blocks
- 00:22:08 -- Safer Live Process Debugging
- 00:25:22 -- Pathlib Impr